
import http from "@/utils/http";
//获取轮播图
export function getBannerAPI(distributionSite='1'){
    //传参默认1是首页
    return http.get('/home/banner',{params:{distributionSite}})

}

export const  getNewAPI = () => {
    return http.get('/home/new')

}
//获取人气推荐
export const getHotAPI = () => {
    return http.get('/home/hot')
}
//获取产品列表
export const getGoodsAPI = ()=>{
    return http.get('/home/goods')
}